Lcc-win32 User’s Manual

 

Organization of the Documentation

 

Explains which documents are available, and how to get them

Installing lcc-win32  8

Troubleshooting  Error! Bookmark not defined.

Configuring the compiler

Configuring the linker

Keyboard shortcuts

Using lcc

Installing, installation problems, directory organization, and a small example to get you up and running

The compiler

Using the Compiler from the Command Line  Error! Bookmark not defined.

The compiler driver Error! Bookmark not defined.

lcc-win32 Command Line Options  Error! Bookmark not defined.

Size, Storage, and System Specifics  42

Pragma Directives of lcc-win32  42

Runtime Organization  44

Saved Registers, Prolog and Epilog Sequences  44

Registry Use of lcc-win32  45

Predefined Preprocessor Symbols  47

Predefined Compiler Symbols  48

Standard Header Files of the lcc-win32 System   49

Command line arguments of the compiler, and other documentation about the run-time organization of the generated code.

Language extensions of lcc-win32 and special features/enhancements

The Memory Manager (Garbage collector) Error! Bookmark not defined.

Operator Overloading  Error! Bookmark not defined.

References  Error! Bookmark not defined.

Generic Functions  Error! Bookmark not defined.

Other Syntactic Enhancements  Error! Bookmark not defined.

An Application of Operator Overloading: The iostream Library  Error! Bookmark not defined.

The Intrinsic Functions  Error! Bookmark not defined.

The qfloat library

The bignum library

Reference Manual of the built-in assembler.

Support for MMX

Support for AMD 3DNOW

Extensions of lcc-win32 to the C language, and how to use them

The Linker 56

Command Line Options Syntax  56

Command Line Switches  56

Libraries Distributed with lcc-win32  60

Other Libraries Distributed with lcc-win32 : 61

How to link, libraries description, and related topics

Other command line utilities  62

The Resource Compiler 62

The pedump Utility  63

F2C — The Fortran Compiler 64

The browsegen Utility  66

The buildlib Utility  67

The lcclib Utility  68

The Bind Utility  68

The mergeasm utility

Resources, and other less command line utilities

Wedit, the Integrated development Environment

Command Line Arguments  69

The Main Menu  69

How Wedit Displays the Program Text 74

 

Introduction to the IDE

Projects  77

Exporting/Importing Projects  83

Complex Projects  85

 

Project management

Configuring Wedit 82

The Workspace Options  86

Defining Macros  87

The Workspace view   88

Redefining what is a keyword  96

Configuring the Compiler and the Linker in Wedit Error! Bookmark not defined.

 

The configuration tab, how to change fonts, colors, configure the compiler, etc.

Finding or Browsing Information with Wedit. 88

The ‘Name Completion’ Feature  89

Information About your Symbols (Variables, Functions, etc.) 89

Finding the Usage of a Symbol 90

Displaying the List of Functions in the Current File  91

How Wedit aids you to find definitions, usages, functions defined, etc.

Editing Text 93

Selecting and Moving Text 93

Searching Text 93

Replacing Text 94

Go to  94

Matching Parentheses, Brackets, etc. 96

Bookmarks  96

Text editing, selection, and other common editor features.

Wedit’s Debugger 98

 

Configuring the Debugger 99

Using the Debugger: The Basics  100

Switching between the Different Displays  101

Setting/Unsetting Breakpoints  102

Displaying Information about the Program   102

CPU   103

Machine Instructions  105

The Stack Display  105

The Locals Display  Error! Bookmark not defined.

The Events Display  Error! Bookmark not defined.

The Memory Window   Error! Bookmark not defined.

The Watch Window   Error! Bookmark not defined.

The ‘Auto’ Window   Error! Bookmark not defined.

Evaluating an Expression  Error! Bookmark not defined.

Setting Data Breakpoints  Error! Bookmark not defined.

Calling Up the Debugger if your Program Crashes  Error! Bookmark not defined.

The debugger configuration tab  Error! Bookmark not defined.

Debugging Windows Programs  Error! Bookmark not defined.

How to use Wedit’s debugger. How to read the different windows, and to interpret the different displays.

Other utilities  Error! Bookmark not defined.

 

The Profiler Error! Bookmark not defined..

The Binary Editor Error! Bookmark not defined.

The Software Metrics Module  Error! Bookmark not defined.

The Macros  Error! Bookmark not defined.

Identifying an Executable or an Object File  Error! Bookmark not defined.

Generating a Table of Character Strings  Error! Bookmark not defined.

The "DIFF" Utility  Error! Bookmark not defined.

The GREP Utility (Find in files) Error! Bookmark not defined.

Adding a Utility  Error! Bookmark not defined.

Inserting Special Commentaries  Error! Bookmark not defined.

Inserting a Comment at the Beginning of a Function  Error! Bookmark not defined.

The 'TREE' Utility  Error! Bookmark not defined.

The Object File Cross-Reference Utility  Error! Bookmark not defined.

Searching Information about the Defined Functions  Error! Bookmark not defined.

Writing the Prototype of all Functions Defined in the Current File  Error! Bookmark not defined.

Searching and Displaying a Structure Definition  Error! Bookmark not defined.

Show Information about the Global Variables  Error! Bookmark not defined.

Showing the Relationships between Two Modules  Error! Bookmark not defined.

Showing the Executable or Object File Statistics  Error! Bookmark not defined.

Automatically Generating the Program's Technical Documentation  Error! Bookmark not defined.

Printing Your Files  Error! Bookmark not defined.

How to edit files in binary mode, measure the code with the software metrics module, and many other built in utilities

 

Weditres : the resource editor 148

 

Part 1: How does the resource editor work?

Structure of the generated code. 149

Building the dialog box. 151

A simple example  151

Controlling which files get generated. Error! Bookmark not defined.

Part 2 : Using the resource editor

Configuring the preferences  153

Managing the selection  154

Testing your dialog box. 154

Using the directory listing  155

Setting the tab order. 155

Group order 157

The toolbar 158

The selection  159

Fixing a control in the screen  160

The status bar 161

Managing the symbols  161

The zoom utility  162

Part 3 : The different properties of each control

Properties of a dialog box  162

Properties of a push button  166

Properties of an edit field  168

Radio button styles  172

Static text styles  174

Properties of a ComboBox  176

Properties of a List Box  181

Check box Styles  186

Group box styles  188

White Rectangle styles  189

Black rectangle styles  189

Horizontal scroll 190

Vertical scroll styles  190

Spin control styles  190

The tree control 193

The slider control 199

The date calendar control 200

The menu editor 203

The string table editor 204

The accelerator table editor 205

How the code generated by the weditres framework is organized, how do you use the editor, and the different properties of each control.

The Application Wizard  217

 

Class Definition  218

Toolbar Definition  220

Styles  220

Creating a Window   220

Using the Wizard  222

How to use the wizard to generate a skeleton of your windows application.

Advanced  224

 

Compiling a DLL  224

Using the Intrinsics Utility  227

The Dynamic Loader 234

Eiffel Support within lcc-win32  235

Compiling with the lcc-cd. 242

Accessing COM Objects Using C   243

DirectX8 with lcc-win32

Reference Manual of the built-in assembler.

 

Frequently Asked Questions (FAQs) 237

 

Appendices

Appendix 1. The Windows Programming Examples  244

The Standard Library Examples  246

Appendix 2 : The Language Grammar 248

Appendix 4: Implementation Limits  266

 

     

Bibliography  267